﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace BLL.Users
{
    /// <summary>
    /// 用户管理业务接口
    /// </summary>
    public interface UserManageBO
    {
        /// <summary>
        /// 用户注册
        /// </summary>
        /// <param name="user">用户对象</param>
        /// <param name="obj">专家或企业对象</param>
        /// <returns>注册提示字符串</returns>
        string Register(User user, object obj);

        /// <summary>
        /// 编辑个人信息
        /// </summary>
        /// <param name="userId">用户编号</param>
        /// <param name="obj">专家或企业对象</param>
        /// <returns>成功：true,失败：false</returns>
        bool EidtProfile(string userId, object obj);

        /// <summary>
        /// 显示用户详细信息
        /// </summary>
        /// <param name="userId">用户编号</param>
        /// <returns>根据不同的用户类型返回专家或企业对象</returns>
        object ShowDetail(string userId);

        /// <summary>
        /// 根据用户id跳转用户详细信息页面
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        string ShowUserDetail(string userId);


    }
}
